package com.gxa.community.admin.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource("classpath:jwt.properties")
@Data
public class JwtProperties {
    // 过期时间 2 小时
    @Value("${EXPIRE_TIME}")
    private String EXPIRE_TIME;
    // 密钥
    @Value("${SECRET}")
    private String SECRET;

}
